import Vue from 'vue';
import router from './js/router.js'
// 5.0 使用 vue-resource 请求数据
import VueResource from 'vue-resource'
import account from './components/account.vue';
//引入mint-ui并注册到vue身上
import Mint from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(Mint)
//引入mui类库
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'
//配置跟路径
Vue.use(VueResource)
import config from './js/globalConfig.js';
Vue.http.options.root = config.baseUrl;
//配置缩列图
import VuePreview from 'vue-preview'
Vue.use(VuePreview)
//导入时间过滤器
import './js/filters.js'
//导入store模块
import store from './js/store.js'
var vm = new Vue({
    el: "#app",
    data: {},
    render: function (c) {
        return c(account)

    },
    router: router,
    store:store
})